public class Test1 {
    public static void main(String[] args) {
        double num1=0.1;
        double num2=0.2;
        if((num1+num2-0.3)<1e-6) {
            System.out.println(true);
        } else {
            System.out.println(false);
        }
    }
}
